//
//  UIButton+NavRightBtn.m
//  YIJU2.0-HD
//
//  Created by 陈柏兵 on 16/5/10.
//  Copyright © 2016年 张金国. All rights reserved.
//

#import "UIButton+NavRightBtn.h"

@implementation UIButton (NavRightBtn)

+(UIButton *)btnWithTitle:(NSString *)title {
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    btn.frame = CGRectMake(0, 7, 73, 30);
    btn.layer.cornerRadius = 5;
    btn.layer.masksToBounds = YES;
    btn.layer.borderWidth = 0.6f;
    btn.layer.borderColor = [[UIColor colorWithRed:212/255.0 green:215/255.0 blue:223/255.0 alpha:1.000] CGColor];
    [btn setTitle:title forState:0];
    [btn setTitleColor:[UIColor blackColor] forState:0];
    
    return btn;
}

@end
